<div style="width:800px">
  <%= render :partial=>"complaint_list_header"%>
<%@complaints.each do |complaint|%>
  <div class="complaint_box" style="padding:5px;background:#fbfdfd">
    <div style="width:80%;float:left;">
      <%= render :partial=>"complaints/complaint_details", :locals=>{:complaint=>complaint}%>
    </div>
    <div style="width:62px;float:right;">
      <%= render :partial=>"complaints/complaint_tasks", :locals => {:complaint=>complaint} %>
    </div>
    <div class="clear"></div>
  </div>
<% end %>
</div>
